package com.unknown.common.countDownTimer;

import com.unknown.common.function.EEFunction;
import com.unknown.common.function.SEFunction;

public class CountDownTimerFactory {

    public static CountDownTimerService getCountDownTimerService(long millisInFuture, long countDownInterval, SEFunction<Long> onTick, EEFunction onFinish) {
        return new CountDownTimerManager(millisInFuture, countDownInterval, onTick, onFinish);
    }
}
